oj_server:oj_server.cc
	g++ -std=c++11 -lmysqlclient -lpthread -ljsoncpp -lctemplate -o $@ $^

.PHONY:clean
clean:
	rm -f oj_server
